Disable all new keywords behind a feature flag#21353
Closed
NullVoxPopuli wants to merge 3 commits intomainfrom
Closed
Disable all new keywords behind a feature flag#21353NullVoxPopuli wants to merge 3 commits intomainfrom
NullVoxPopuli wants to merge 3 commits intomainfrom
Conversation
kategengler
reviewed
May 1, 2026
|
|
||
| export const DEFAULT_FEATURES = { | ||
| // FLAG_NAME: true/false | ||
| NEW_KEYWORDS_2026_05: true, |
Member
There was a problem hiding this comment.
This should be false by default.
Contributor
📊 Package size report — dist/dev -0.1%↓
📊 Package size report — dist/prod -0.11%↓
Tarball size: 1.2 MB (was 1.2 MB, -198 B) 🤖 This report was automatically generated by pkg-size-action |
Contributor
Author
|
I don't know how to feature flag any of this. this is a build plugin, so I'd have to actually just delete all the tests, else we get build errors and can't even boot up the tests due to things not being in scope if we feature flag the traditional way. The new keywords are not runtime behavior, but build behavior |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I don't even really know if this PR is needed, because I want all of these available in the next minor anyway